/**
 Copyright (C) 2008 ZHENG Zhong <heavyzheng nospam-at gmail D0T com>
 - http://heavyz.blogspot.com/
 - http://buggarden.blogspot.com/
 
 Common stylesheet for my home page.
 
 Created on 2008-10-23.
 $Id: common.css 310 2008-12-30 13:28:29Z heavyzheng $
 */

/*------------------------------------------------------------------------------------------------*/
/* HTML element styles                                                                            */
/*------------------------------------------------------------------------------------------------*/

body {
  margin: 0;
  padding: 0;
  font: normal normal 90% arial,sans-serif;
  color: #444444;
  background-color: #FFFFFF;
  text-align: center;
}

a, a:link, a:visited {
  text-decoration: none;
  color: #2090D0;
}

a:hover {
  text-decoration: underline;
  color: #2090D0;
}

a img {
  border-width: 0;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Trebuchet MS',arial,sans-serif;
}

code, pre {
  font: normal normal 90% 'Courier New',courier,arial, sans-serif;
  color: #444444;
}

pre {
  margin: 0;
  padding: 4px;
  border: solid 1px #888888;
}

small {
  font-size: 90%;
}

big {
  font: normal normal 110% 'Trebuchet MS',arial,sans-serif;
}


/*------------------------------------------------------------------------------------------------*/
/* Page layout and wrapper styles                                                                 */
/*------------------------------------------------------------------------------------------------*/

#outer-wrapper {
  text-align: left;
  margin: 0 auto;
  padding: 10px 0 10px 0;
  width: 780px;
}

#topbar-wrapper,
#footer-wrapper {
  margin: 0;
  padding: 4px;
  font: normal normal 90% 'Trebuchet MS',arial,sans-serif;
}

#topbar-wrapper {
  text-align: right;
  border-bottom: 1px solid #DDDDDD;
}

#footer-wrapper {
  color: #888888;
  text-align: center;
  border-top: 1px solid #DDDDDD;
}

#footer-wrapper a {
  color: #888888;
}

#header-wrapper {
  margin: 0;
  padding: 10px 4px 10px 4px;
}

#header-wrapper h1 {
  font: normal bold 160% 'Trebuchet MS',arial,sans-serif;
  margin: 0;
  padding: 4px 0 4px 0;
}

#header-wrapper h2 {
  font: normal normal 110% 'Trebuchet MS',arial,sans-serif;
  margin: 0;
  padding: 4px 0 4px 0;
}

#sidebar-and-content-wrapper {
  margin: 0 0 10px 0;
  padding: 0 4px 0 4px;
  height: 1%; /* IE requires this to make a container! */
}

#sidebar-and-content-wrapper:after {
  content: ".";
  display: block;
  height: 0;
  clear: both;
  visibility: hidden;
}

#sidebar-wrapper {
  margin: 0;
  padding: 0 4px 0 0;
  display: inline;
  float: left;
  width: 185px;
}

#sidebar-wrapper div {
  margin: 0 0 10px 0;
  padding: 0;
}

#sidebar-wrapper div h2 {
  margin: 0;
  padding: 5px 0 10px 0;
  font: normal bold 110% 'Century Gothic',helvetica,sans-serif;
  text-transform: uppercase;
  color: #2090D0;
}

#sidebar-wrapper div ul {
  margin: 0;
  padding: 0;
  border-width: 0;
}

#sidebar-wrapper div ul li {
  margin: 0;
  padding: 4px 16px 4px 16px;
  font: normal normal 90% 'Trebuchet MS',arial,sans-serif;
  color: #666666;
  list-style: none outside none;
  border-top: 1px solid #DDDDDD;
  text-indent: -15px;
}

#sidebar-wrapper div ul li a {
  color: #666666;
}

#content-wrapper {
  margin: 0;
  padding: 0 0 0 4px;
  display: inline;
  float: right;
  width: 560px;
}

/*------------------------------------------------------------------------------------------------*/
/* Section styles                                                                                 */
/*------------------------------------------------------------------------------------------------*/

.section {
  margin: 0;
  padding: 4px 0 4px 0;
  line-height: 1.2em;
  height: 1%; /* IE requires this to make a container! */
}

.section:after {
  content: ".";
  display: block;
  height: 0;
  clear: both;
  visibility: hidden;
}

.section h1, .section h2, .section h3 {
  font-weight: bold;
  font-family: 'Trebuchet MS',arial,sans-serif;
}

.section h1 {
  margin: 0 0 8px 0;
  padding: 4px 0 4px 0;
  font-size: 140%;
  border-bottom: 1px solid #888888;
}

.section h2 {
  margin: 0;
  padding: 2px 0 2px 0;
  font-size: 120%;
}

.section h3 {
  margin: 0;
  padding: 0 0 2px 0;
  font-size: 110%;
}

.section p {
  margin: 0;
  padding: 4px;
}

/*------------------------------------------------------------------------------------------------*/
/* Common style classes                                                                           */
/*------------------------------------------------------------------------------------------------*/

a.external {
  background: url('/static/images/external.png') center right no-repeat;
  padding-right: 13px;
}

.shadow, .shadow a {
  color: #FFFFFF;
}

.hidden {
  display: none;
}

.nowrap {
  white-space: nowrap;
}

.container {
  height: 1%; /* IE requires this to make a container! */
}

.container:after {
  content: ".";
  display: block;
  height: 0;
  clear: both;
  visibility: hidden;
}

.info, .error, .message {
  margin: 4px 0 4px 0;
  padding: 10px;
}

.info {
  background-color: #E8EEFA;
  border: 1px solid #C3D9FF;
}

.error {
  background-color: #FAFDCE;
  border: 1px solid #FACC00
}


